//
//  TMDWBHomeViewController.swift
//  TMDWeiBo
//
//  Created by 汤明鼎 on 2017/1/16.
//  Copyright © 2017年 heimaitcast. All rights reserved.
//

import UIKit

class TMDWBHomeViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        setupUI()
    }

    func setupUI(){
    
        navigationItem.leftBarButtonItem = UIBarButtonItem(imageNamed: "navigationbar_friendsearch", title: nil, target: self, action: #selector(leftClick))
        navigationItem.rightBarButtonItem = UIBarButtonItem(imageNamed: "navigationbar_pop", title: nil, target: self, action: #selector(rightClick))
    }
    
}

extension TMDWBHomeViewController{

    @objc fileprivate func leftClick(){
    
    }
    @objc fileprivate func rightClick(){
        let tempVC = TMDWBTempViewController()
        navigationController?.pushViewController(tempVC, animated: true)
    }
}
